package com.cjkj.equipment.mapper;

import com.cjkj.equipment.domain.TWarnSetting;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 预警值设置Mapper接口
 * 
 * @author cjkj
 * @date 2024-08-30
 */
public interface TWarnSettingMapper
{
    /**
     * 查询预警值设置列表
     * 
     * @param tWarnSetting 预警值设置
     * @return 预警值设置集合
     */
    List<TWarnSetting> selectTWarnSettingList(TWarnSetting tWarnSetting);

    /**
     * 查询医院单独设置的预警值
     * @param hospitalId 医院ID
     * @param deptId 科室ID
     */
    List<TWarnSetting> selectHospitalWarnSet(@Param("hospitalId") String hospitalId,
                                               @Param("deptId") String deptId);
}
